//
//  JBWDefines.h
//  JBWDSK
//
//  Created by 崔志伟 on 2018/8/3.
//  Copyright © 2018年 崔志伟. All rights reserved.
//

#ifndef JBWDefines_h
#define JBWDefines_h
#import <Foundation/Foundation.h>

typedef NS_ENUM(NSInteger, JBWActionType){
    JBWActionType_EnterGame  = 1,    //进入游戏
    JBWActionType_Levelup    = 2,    //角色升级
    JBWActionType_QuitGame   = 3,    //退出游戏
    
};

typedef NS_ENUM(NSInteger, JBWView){
    JBWView_Login = 1,     //登录界面
    JBWView_Channel =2,     //选择渠道
    JBWView_UserCenter = 3,     //用户中心
    JBWView_Notice = 4,        //公告
    JBWView_UserCenter_Me = 5,//用户中心_我的
    JBWView_UserCenter_Infor = 6,//用户中心_资讯
    JBWView_UserCenter_Intro = 7,
    JBWView_UserCenter_Gift = 8,
};

typedef NS_ENUM(NSInteger, JBWPayChannel){
    JBWPayChannel_Platform   = 0, //V币
    JBWPayChannel_SPay       = 1, //微信
    JBWPayChannel_AliPay     = 2, //阿里支付宝
    JBWPayChannel_ApplePay   = 4, //Apple
    
};




// 网络回调
typedef void (^JBWHttpDataCallBack)(id result, NSError *error);
typedef void (^JBWViewCallBack)(id result, NSError *error);
typedef void (^JBWCallback)(id success, NSError *error);


#endif /* JBWDefines_h */
